import request from "@/utils/request";

// 今日预约单数
export function appointmentNumber() {
  return request({
    url: "/business/home/appointmentNumber",
    method: "get",
  });
}

// 今日服务订单数
export function todayServiceOrderCount() {
  return request({
    url: "/business/home/todayServiceOrderCount",
    method: "get",
  });
}

// 未完成预约订单
export function unfinishedAppointmentCount() {
  return request({
    url: "/business/home/unfinishedAppointmentCount",
    method: "get",
  });
}

// 总营业收入
export function totalRevenue() {
  return request({
    url: "/business/home/totalRevenue",
    method: "get",
  });
}

// 今日收入
export function todayRevenue() {
  return request({
    url: "/business/home/todayRevenue",
    method: "get",
  });
}

// 近七日预约情况
export function selectLast7DaysAppointmentCount() {
  return request({
    url: "/business/home/selectLast7DaysAppointmentCount",
    method: "get",
  });
}

// 近七日测评情况
export function selectLast7DaysAppraisalCount() {
  return request({
    url: "/business/home/selectLast7DaysAppraisalCount",
    method: "get",
  });
}

// 测评排行
export function selectAllAppraisalCount() {
  return request({
    url: "/business/home/selectAllAppraisalCount",
    method: "get",
  });
}

// 热门心理咨询师排名
export function selectTop10ExpertsWithName() {
  return request({
    url: "/business/home/selectTop10ExpertsWithName",
    method: "get",
  });
}



